gdk/toplevel: Add gdk_toplevel_titlebar_gesture()
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 29 Jul 2021 01:55:36 +0000 (03:55 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 29 Jul 2021 19:39:32 +0000 (21:39 +0200)
commit0c7b1431d7e1157c389d3cf1e895eaf5aaaa62fb
treee6a9c4ccc9a909d36e0426996415323361bd642f
parentcc6ecc8b623a776e4c5e5c8001a02cf92ed5c5d9
gdk/toplevel: Add gdk_toplevel_titlebar_gesture()

Where supported, this allows delegating the titlebar action to the
compositor instead of trying to replicate its behavior client-side.

https://gitlab.gnome.org/GNOME/mutter/-/issues/602
gdk/gdktoplevel.c
gdk/gdktoplevel.h
gdk/gdktoplevelprivate.h
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdksurface-wayland.c
gdk/wayland/protocol/gtk-shell.xml